﻿using DataBaseLib.Entities.BaseEntity;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataBaseLib.Entities
{
    [SugarTable("WarehouseInfo")]//设置数据库名称，当类库名称和数据库不一致是可以通过别名统一
    public class WarehouseInfo : BaseModel
    {
        /// <summary>
        /// 名称
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(50)", ColumnDescription = "名称")]
        public string Name { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(50)", ColumnDescription = "联系电话")]
        public string Telephone { get; set; }
        /// <summary>
        /// 标签
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(30)", ColumnDescription = "标签")]
        public string Tag { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(200)", ColumnDescription = "备注")]
        public string Remark { get; set; }

    }
}
